package com.bosicloud.cmb.ibp.api.manager.dao;

import com.bosicloud.cmb.ibp.api.manager.commom.model.IbpApiDocParams;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;


public interface IbpApiDocParamsMapper extends Mapper<IbpApiDocParams> {

    Integer insertIbpApiDocParams(List<IbpApiDocParams> list);

    List<IbpApiDocParams> searchParamsListByDocsId(Integer docsId);

    /**
     * @param ibpApiDocParamsList
     * @return
     */
    Integer updateIbpApiDocParams(List<IbpApiDocParams> ibpApiDocParamsList);

    /**
     * 根据apiId删除IbpApiDocParams
     *
     * @param apiId
     * @return Integer
     */
    Integer deleteIbpApiDocParamsByApiId(Integer apiId);

}
